package com.xique.park.api.request;

import com.xique.common.core.web.request.BasePageRequest;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author shd
 * @create 2022/6/17 14:03
 */
@Data
public class RemoteGetCarListRequest extends BasePageRequest {

    /**
     * 车牌号
     */
    private String plate;

    /**
     * 车主姓名
     */
    private String userName;

    /**
     * 车主电话
     */
    private String phone;

    /**
     * 状态
     */
    private String status;

    /**
     * 当前页
     */
    @NotNull(message = "请传入页数")
    private Integer pageNum;

    /**
     * 每页数量
     */
    @NotNull(message = "请传入每页数量")
    @Max(50)
    private Integer pageSize;

    private Long parkId;

    private String remark;

    private String address;
}
